package com.irc.server;

import java.net.Socket;

/*
 * An IRC user
 * @author agd
 */
public class IRCUser {
	
	private String nick;
	private Socket socket;
	private IRCChannel currentChannel;
	
	public IRCUser(String nick, Socket s){
		this.nick = nick;
		this.socket = s;
		
		this.currentChannel = null; 
	}
	
	public void setNick(String nick){
		this.nick = nick;
	}
	
	public void joinChannel(IRCChannel c){
		currentChannel = c;
	}

}
